undefined symbol: cache_generate_key_default
undefined symbol: cache_generate_key_default
am 07.10.2009 16:06:52 von Marcos
Hello,
I have a problem to active one module_cache in apache:
1.First i compile the module mod_cache, not error founds:
$/opt/apache2/bin/apxs -c mod_cache.c
/opt/apache2/build/libtool --silent --mode=compile gcc -prefer-pic
-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-g -O2 -pthread -I/opt/apache2/include -I/opt/apache2/include
-I/opt/apache2/include -c -o mod_cache.lo mod_cache.c && touch
mod_cache.slo
/opt/apache2/build/libtool --silent --mode=link gcc -o mod_cache.la
-rpath /opt/apache2/modules -module -avoid-version mod_cache.lo
2.Copy de .so into directory modules of my instalation:
cp ./modules/experimental/.libs/mod_cache.so /opt/apache2/modules
3.When i start the
/etc/init.d/apache start
Syntax error on line 7 of /opt/apache2/conf_common/httpd.cache.conf:
Cannot load /opt/apache2/modules/mod_cache.so into server:
/opt/apache2/modules/mod_cache.so: undefined symbol:
cache_generate_key_default
Thanks.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: undefined symbol: cache_generate_key_default
am 07.10.2009 16:18:06 von Eric Covener
On Wed, Oct 7, 2009 at 10:06 AM, marcos wrote:
> Hello,
>
> I have a problem to active one module_cache in apache:
>
>
> 1.First i compile the module mod_cache, not error founds:
>
> $/opt/apache2/bin/apxs -c mod_cache.c
> /opt/apache2/build/libtool --silent --mode=3Dcompile gcc -prefer-pic
> -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=3D2 -D_REENTRANT -D_GNU_SOURCE
> -g -O2 -pthread -I/opt/apache2/include =A0-I/opt/apache2/include
> -I/opt/apache2/include =A0 -c -o mod_cache.lo mod_cache.c && touch
> mod_cache.slo
> /opt/apache2/build/libtool --silent --mode=3Dlink gcc -o mod_cache.la
> -rpath /opt/apache2/modules -module -avoid-version =A0 =A0mod_cache.lo
For more complicated modules, you need to pass it all the source files
that comprise the module, including e.g. cache_storage.c cache_util.c
-- see modules.mk in the cache/ directory.
--
Eric Covener
covener@gmail.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: undefined symbol: cache_generate_key_default
am 07.10.2009 16:18:43 von Eric Covener
On Wed, Oct 7, 2009 at 10:18 AM, Eric Covener wrote:
> For more complicated modules, you need to pass it all the source files
> that comprise the module, including e.g. cache_storage.c cache_util.c
> -- see modules.mk in the cache/ directory.
(which you don't have if you didn't configure with mod_cache, doh!)
mod_cache.la: mod_cache.slo cache_storage.slo cache_util.slo
$(SH_LINK) -rpath $(libexecdir) -module -avoid-version
mod_cache.lo cache_storage.lo cache_util.lo $(MOD_CACHE_LDADD)
--
Eric Covener
covener@gmail.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: undefined symbol: cache_generate_key_default
am 07.10.2009 16:42:39 von Marcos
Thanks i execute :
/opt/apache2/bin/apxs -i -c mod_cache.c cache_storage.c cache_util.c
and now load the module.
and now
2009/10/7 Eric Covener :
> On Wed, Oct 7, 2009 at 10:18 AM, Eric Covener wrote:
>
>> For more complicated modules, you need to pass it all the source files
>> that comprise the module, including e.g. cache_storage.c cache_util.c
>> -- see modules.mk in the cache/ directory.
>
> (which you don't have if you didn't configure with mod_cache, doh!)
>
> mod_cache.la: mod_cache.slo cache_storage.slo cache_util.slo
> =A0 =A0 =A0 =A0$(SH_LINK) -rpath $(libexecdir) -module -avoid-version
> mod_cache.lo cache_storage.lo cache_util.lo =A0$(MOD_CACHE_LDADD)
>
>
> --
> Eric Covener
> covener@gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project=
..
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> =A0 " =A0 from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: undefined symbol: cache_generate_key_default
am 09.10.2009 06:42:39 von Igor Cicimov
--000e0cd69526b141d5047579353f
Content-Type: text/plain; charset=ISO-8859-1
Sorry to hijack the thread guys but just wondered if the same goes with
mod_mem_cache module I mean the additional .c files in the apxs command?
Thanks,
Igor
On Thu, Oct 8, 2009 at 1:42 AM, marcos wrote:
> Thanks i execute :
>
> /opt/apache2/bin/apxs -i -c mod_cache.c cache_storage.c cache_util.c
> and now load the module.
>
>
>
> and now
> 2009/10/7 Eric Covener :
> > On Wed, Oct 7, 2009 at 10:18 AM, Eric Covener wrote:
> >
> >> For more complicated modules, you need to pass it all the source files
> >> that comprise the module, including e.g. cache_storage.c cache_util.c
> >> -- see modules.mk in the cache/ directory.
> >
> > (which you don't have if you didn't configure with mod_cache, doh!)
> >
> > mod_cache.la: mod_cache.slo cache_storage.slo cache_util.slo
> > $(SH_LINK) -rpath $(libexecdir) -module -avoid-version
> > mod_cache.lo cache_storage.lo cache_util.lo $(MOD_CACHE_LDADD)
> >
> >
> > --
> > Eric Covener
> > covener@gmail.com
> >
> > ------------------------------------------------------------ ---------
> > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > See for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--000e0cd69526b141d5047579353f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Sorry to hijack the thread guys but just wondered if the same goes with mod=
_mem_cache module I mean the additional .c files in the apxs command?
r>Thanks,
Igor
On Thu, Oct 8, 2009 at =
1:42 AM, marcos
<=
chipcmc@gmail.com> wrote:
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks i execute =
:
/opt/apache2/bin/apxs -i -c mod_cache.c cache_storage.c =A0cache_util.c
and now load the module.
and now
2009/10/7 Eric Covener <
covener@gma=
il.com>:
> On Wed, Oct 7, 2009 at 10:18 AM, Eri=
c Covener <>=
; wrote:
>
>> For more complicated modules, you need to pass it all the source f=
iles
>> that comprise the module, including e.g. cache_storage.c cache_uti=
l.c
>> -- see
modules.mk<=
/a> in the cache/ directory.
>
> (which you don't have if you didn't configure with mod_cache, =
doh!)
>
> : mo=
d_cache.slo cache_storage.slo cache_util.slo
> =A0 =A0 =A0 =A0$(SH_LINK) -rpath $(libexecdir) -module -avoid-version<=
br>
> mod_cache.lo cache_storage.lo cache_util.lo =A0$(MOD_CACHE_LDADD)
>
>
> --
> Eric Covener
>
>
> ------------------------------------------------------------ ---------<=
br>
> The official User-To-User support forum of the Apache HTTP Server Proj=
ect.
> See <URL:
=3D"_blank">http://httpd.apache.org/userslist.html> for more info.
r>
> To unsubscribe, e-mail:
he.org">users-unsubscribe@httpd.apache.org
> =A0 " =A0 from the digest:
ribe@httpd.apache.org">users-digest-unsubscribe@httpd.apache .org
> For additional commands, e-mail:
ache.org">users-help@httpd.apache.org
>
>
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g">users-unsubscribe@httpd.apache.org
=A0 " =A0 from the digest:
@httpd.apache.org">users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail:
org">users-help@httpd.apache.org
--000e0cd69526b141d5047579353f--
Re: undefined symbol: cache_generate_key_default
am 09.10.2009 13:21:07 von Dan Poirier
Igor Cicimov writes:
> Sorry to hijack the thread guys but just wondered if the same goes with
> mod_mem_cache module I mean the additional .c files in the apxs command?
Yes, see config.m4 in the modules/cache directory which tells the build
which files are needed.
--
Dan Poirier
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Re: undefined symbol: cache_generate_key_default
am 10.10.2009 01:21:07 von Igor Cicimov
--000e0cd481fcacaf8f047588d539
Content-Type: text/plain; charset=ISO-8859-1
Thanks Dan. I did that but I got the following error when tried to start
apache afterwards:
httpd: Syntax error on line 70 of /usr/local/apache2/conf/httpd.conf: Cannot
load /usr/local/apache2/modules/mod_mem_cache.so into server: ld.so.1:
../bin/httpd: fatal: relocation error: file
/usr/local/apache2/modules/mod_mem_cache.so: symbol cache_find: referenced
symbol not found
It is apache 2.2.12 running on Solaris 9 in chroot.
Thanks,
Igor
On Fri, Oct 9, 2009 at 10:21 PM, Dan Poirier wrote:
> Igor Cicimov writes:
>
> > Sorry to hijack the thread guys but just wondered if the same goes with
> > mod_mem_cache module I mean the additional .c files in the apxs command?
>
> Yes, see config.m4 in the modules/cache directory which tells the build
> which files are needed.
>
> --
> Dan Poirier
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--000e0cd481fcacaf8f047588d539
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Thanks Dan. I did that but I got the following error when tried to start ap=
ache afterwards:
httpd: Syntax error on line 70 of /usr/local/apache=
2/conf/httpd.conf: Cannot load /usr/local/=
apache2/modules/mod_mem_cache.so into server: ld.so.1: ./bin/httpd: fatal: =
relocation error: file /usr/local/apache2/modules/mod_mem_cache.so: symbol =
cache_find: referenced symbol not found
It is apache 2.2.12 running on Solaris 9 in chroot.
Thanks,<=
br>
Igor
Yes, see config.m4 in the modules/cache directory which tells the bui=
ld
which files are needed.
--
Dan Poirier
<>
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g">users-unsubscribe@httpd.apache.org
=A0 " =A0 from the digest:
@httpd.apache.org">users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail:
org">users-help@httpd.apache.org
--000e0cd481fcacaf8f047588d539--
Re: Re: undefined symbol: cache_generate_key_default
am 10.10.2009 12:42:01 von Marcos
Hi, i had a similar problem whit deflate module:
Cannot load /opt/apache2/modules/mod_deflate.so into server:
/opt/apache2/modules
/mod_deflate.so: undefined symbol: inflateEnd
I solve the problem using -lz in the link options, probe to pass this
option to the linker with -Wl apxs command.
/opt/apache2/bin/apxs -i -c -Wl,lz mod_cache.c cache_storage.c cache_util.=
c
2009/10/10 Igor Cicimov :
> Thanks Dan. I did that but I got the following error when tried to start
> apache afterwards:
>
> httpd: Syntax error on line 70 of /usr/local/apache2/conf/httpd.
> conf: Cannot load /usr/local/apache2/modules/mod_mem_cache.so into server=
:
> ld.so.1: ./bin/httpd: fatal: relocation error: file
> /usr/local/apache2/modules/mod_mem_cache.so: symbol cache_find: reference=
d
> symbol not found
>
> It is apache 2.2.12 running on Solaris 9 in chroot.
>
> Thanks,
>
> Igor
>
> On Fri, Oct 9, 2009 at 10:21 PM, Dan Poirier wrote:
>>
>> Igor Cicimov writes:
>>
>> > Sorry to hijack the thread guys but just wondered if the same goes wit=
h
>> > mod_mem_cache module I mean the additional .c files in the apxs comman=
d?
>>
>> Yes, see config.m4 in the modules/cache directory which tells the build
>> which files are needed.
>>
>> --
>> Dan Poirier
>>
>>
>> ------------------------------------------------------------ ---------
>> The official User-To-User support forum of the Apache HTTP Server Projec=
t.
>> See for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> =A0 " =A0 from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
>
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Re: undefined symbol: cache_generate_key_default
am 12.10.2009 03:24:07 von Igor Cicimov
--000e0cd5c74e3ed9b70475b2c984
Content-Type: text/plain; charset=ISO-8859-1
Hi marcos,
Thanks for your help I tried that but still getting the same error and I
have no idea why is ld complaining. I set up the LD_LIBRARY_PATH before
execution to :/lib:/usr/lib:/usr/local/lib maybe somethinf is wrong with
that.
Any other suggestions guys?
Thanks,
Igor
On Sat, Oct 10, 2009 at 9:42 PM, marcos wrote:
> Hi, i had a similar problem whit deflate module:
>
> Cannot load /opt/apache2/modules/mod_deflate.so into server:
> /opt/apache2/modules
> /mod_deflate.so: undefined symbol: inflateEnd
>
> I solve the problem using -lz in the link options, probe to pass this
> option to the linker with -Wl apxs command.
>
> /opt/apache2/bin/apxs -i -c -Wl,lz mod_cache.c cache_storage.c
> cache_util.c
>
>
>
> 2009/10/10 Igor Cicimov :
> > Thanks Dan. I did that but I got the following error when tried to start
> > apache afterwards:
> >
> > httpd: Syntax error on line 70 of /usr/local/apache2/conf/httpd.
> > conf: Cannot load /usr/local/apache2/modules/mod_mem_cache.so into
> server:
> > ld.so.1: ./bin/httpd: fatal: relocation error: file
> > /usr/local/apache2/modules/mod_mem_cache.so: symbol cache_find:
> referenced
> > symbol not found
> >
> > It is apache 2.2.12 running on Solaris 9 in chroot.
> >
> > Thanks,
> >
> > Igor
> >
> > On Fri, Oct 9, 2009 at 10:21 PM, Dan Poirier wrote:
> >>
> >> Igor Cicimov writes:
> >>
> >> > Sorry to hijack the thread guys but just wondered if the same goes
> with
> >> > mod_mem_cache module I mean the additional .c files in the apxs
> command?
> >>
> >> Yes, see config.m4 in the modules/cache directory which tells the build
> >> which files are needed.
> >>
> >> --
> >> Dan Poirier
> >>
> >>
> >> ------------------------------------------------------------ ---------
> >> The official User-To-User support forum of the Apache HTTP Server
> Project.
> >> See for more info.
> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >> " from the digest: users-digest-unsubscribe@httpd.apache.org
> >> For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >
> >
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--000e0cd5c74e3ed9b70475b2c984
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi marcos,
Thanks for your help I tried that but still getting the s=
ame error and I have no idea why is ld complaining. I set up the LD_LIBRARY=
_PATH before execution to=A0 :/lib:/usr/lib:/usr/local/lib maybe somethinf =
is wrong with that.
Any other suggestions guys?
Thanks,
Igor
s=3D"gmail_quote">On Sat, Oct 10, 2009 at 9:42 PM, marcos
><> =
wrote:
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, i had a simil=
ar problem whit deflate module:
Cannot load /opt/apache2/modules/mod_deflate.so into server:
/opt/apache2/modules
/mod_deflate.so: undefined symbol: inflateEnd
I solve the problem using -lz in the link options, probe to pass this
option to the linker with -Wl apxs command.
/opt/apache2/bin/apxs -i -c -Wl,lz mod_cache.c cache_storage.c =A0cache_uti=
l.c
2009/10/10 Igor Cicimov <icicimov@=
gmail.com>:
> Thanks Dan. I did that but I got the=
following error when tried to start
> apache afterwards:
>
> httpd: Syntax error on line 70 of /usr/local/apache2/conf/httpd.
> conf: Cannot load /usr/local/apache2/modules/mod_mem_cache.so into ser=
ver:
> ld.so.1: ./bin/httpd: fatal: relocation error: file
> /usr/local/apache2/modules/mod_mem_cache.so: symbol cache_find: refere=
nced
> symbol not found
>
> It is apache 2.2.12 running on Solaris 9 in chroot.
>
> Thanks,
>
> Igor
>
> On Fri, Oct 9, 2009 at 10:21 PM, Dan Poirier <
rier@pobox.com">poirier@pobox.com> wrote:
>>
>> Igor Cicimov <
icicimov@gm=
ail.com> writes:
>>
>> > Sorry to hijack the thread guys but just wondered if the same=
goes with
>> > mod_mem_cache module I mean the additional .c files in the ap=
xs command?
>>
>> Yes, see config.m4 in the modules/cache directory which tells the =
build
>> which files are needed.
>>
>> --
>> Dan Poirier
>> <>=
>>
>> ------------------------------------------------------------ ------=
---
>> The official User-To-User support forum of the Apache HTTP Server =
Project.
>> See <URL:
get=3D"_blank">http://httpd.apache.org/userslist.html> for more info=
..
>> To unsubscribe, e-mail:
apache.org">users-unsubscribe@httpd.apache.org
>> =A0 " =A0 from the digest:
ubscribe@httpd.apache.org">users-digest-unsubscribe@httpd.ap ache.org
>
>> For additional commands, e-mail:
d.apache.org">users-help@httpd.apache.org
>>
>
>
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g">users-unsubscribe@httpd.apache.org
=A0 " =A0 from the digest:
@httpd.apache.org">users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail:
org">users-help@httpd.apache.org
--000e0cd5c74e3ed9b70475b2c984--
Re: Re: undefined symbol: cache_generate_key_default
am 12.10.2009 03:32:03 von Igor Cicimov
--000e0cd695269e9b140475b2e5f1
Content-Type: text/plain; charset=ISO-8859-1
Ok I fixed it. For anyone interested looking in the config.m4 as Dan
suggested gaives this:
dnl # list of object files for mod_mem_cache
mem_cache_objs="dnl
mod_mem_cache.lo dnl
cache_cache.lo dnl
cache_pqueue.lo dnl
cache_hash.lo dnl
so the command I used to build the module:
# /usr/local/apache2/bin/apxs -c -i mod_mem_cache.c cache_cache.c
cache_pqueue.c cache_hash.c
Thanks to all for your help guys.
Cheers,
Igor
On Mon, Oct 12, 2009 at 12:24 PM, Igor Cicimov wrote:
> Hi marcos,
>
> Thanks for your help I tried that but still getting the same error and I
> have no idea why is ld complaining. I set up the LD_LIBRARY_PATH before
> execution to :/lib:/usr/lib:/usr/local/lib maybe somethinf is wrong with
> that.
>
> Any other suggestions guys?
>
> Thanks,
>
> Igor
>
>
> On Sat, Oct 10, 2009 at 9:42 PM, marcos wrote:
>
>> Hi, i had a similar problem whit deflate module:
>>
>> Cannot load /opt/apache2/modules/mod_deflate.so into server:
>> /opt/apache2/modules
>> /mod_deflate.so: undefined symbol: inflateEnd
>>
>> I solve the problem using -lz in the link options, probe to pass this
>> option to the linker with -Wl apxs command.
>>
>> /opt/apache2/bin/apxs -i -c -Wl,lz mod_cache.c cache_storage.c
>> cache_util.c
>>
>>
>>
>> 2009/10/10 Igor Cicimov :
>> > Thanks Dan. I did that but I got the following error when tried to start
>> > apache afterwards:
>> >
>> > httpd: Syntax error on line 70 of /usr/local/apache2/conf/httpd.
>> > conf: Cannot load /usr/local/apache2/modules/mod_mem_cache.so into
>> server:
>> > ld.so.1: ./bin/httpd: fatal: relocation error: file
>> > /usr/local/apache2/modules/mod_mem_cache.so: symbol cache_find:
>> referenced
>> > symbol not found
>> >
>> > It is apache 2.2.12 running on Solaris 9 in chroot.
>> >
>> > Thanks,
>> >
>> > Igor
>> >
>> > On Fri, Oct 9, 2009 at 10:21 PM, Dan Poirier wrote:
>> >>
>> >> Igor Cicimov writes:
>> >>
>> >> > Sorry to hijack the thread guys but just wondered if the same goes
>> with
>> >> > mod_mem_cache module I mean the additional .c files in the apxs
>> command?
>> >>
>> >> Yes, see config.m4 in the modules/cache directory which tells the build
>> >> which files are needed.
>> >>
>> >> --
>> >> Dan Poirier
>> >>
>> >>
>> >> ------------------------------------------------------------ ---------
>> >> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> >> See for more info.
>> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> >> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> >> For additional commands, e-mail: users-help@httpd.apache.org
>> >>
>> >
>> >
>>
>> ------------------------------------------------------------ ---------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
--000e0cd695269e9b140475b2e5f1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Ok I fixed it. For anyone interested looking in the config.m4 as Dan sugges=
ted gaives this:
dnl #=A0 list of object files for mod_mem_cache
=
mem_cache_objs=3D"dnl
mod_mem_cache.lo dnl
cache_cache.lo dnl
>
cache_pqueue.lo dnl
cache_hash.lo dnl
so the command I used to bu=
ild the module:
# /usr/local/apache2/bin/apxs -c -i mod_mem_cache.c =
cache_cache.c cache_pqueue.c cache_hash.c
Thanks to all for your=
help guys.
Cheers,
Igor
On Mon, Oct 12, 2=
009 at 12:24 PM, Igor Cicimov
<
mov@gmail.com">icicimov@gmail.com> wrote:
s=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margi=
n: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi marcos,
Thanks for your help I tried that but still getting the s=
ame error and I have no idea why is ld complaining. I set up the LD_LIBRARY=
_PATH before execution to=A0 :/lib:/usr/lib:/usr/local/lib maybe somethinf =
is wrong with that.
Any other suggestions guys?
Thanks,
<=
br>Igor
_quote">On Sat, Oct 10, 2009 at 9:42 PM, marcos
<
ef=3D"mailto:chipcmc@gmail.com" target=3D"_blank">chipcmc@gmail.com>=
wrote:
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, i had a simil=
ar problem whit deflate module:
Cannot load /opt/apache2/modules/mod_deflate.so into server:
/opt/apache2/modules
/mod_deflate.so: undefined symbol: inflateEnd
I solve the problem using -lz in the link options, probe to pass this
option to the linker with -Wl apxs command.
/opt/apache2/bin/apxs -i -c -Wl,lz mod_cache.c cache_storage.c =A0cache_uti=
l.c
2009/10/10 Igor Cicimov <
"_blank">icicimov@gmail.com>:
> Thanks Dan. I did that but I got the following er=
ror when tried to start
> apache afterwards:
>
> httpd: Syntax error on line 70 of /usr/local/apache2/conf/httpd.
> conf: Cannot load /usr/local/apache2/modules/mod_mem_cache.so into ser=
ver:
> ld.so.1: ./bin/httpd: fatal: relocation error: file
> /usr/local/apache2/modules/mod_mem_cache.so: symbol cache_find: refere=
nced
> symbol not found
>
> It is apache 2.2.12 running on Solaris 9 in chroot.
>
> Thanks,
>
> Igor
>
> On Fri, Oct 9, 2009 at 10:21 PM, Dan Poirier <
rier@pobox.com" target=3D"_blank">poirier@pobox.com> wrote:
>>
>> Igor Cicimov <
blank">icicimov@gmail.com> writes:
>>
>> > Sorry to hijack the thread guys but just wondered if the same=
goes with
>> > mod_mem_cache module I mean the additional .c files in the ap=
xs command?
>>
>> Yes, see config.m4 in the modules/cache directory which tells the =
build
>> which files are needed.
>>
>> --
>> Dan Poirier
>> <
poirier=
@pobox.com>
>>
>> ------------------------------------------------------------ ------=
---
>> The official User-To-User support forum of the Apache HTTP Server =
Project.
>> See <URL:
get=3D"_blank">http://httpd.apache.org/userslist.html> for more info=
..
>> To unsubscribe, e-mail:
apache.org" target=3D"_blank">users-unsubscribe@httpd.apache.org
>> =A0 " =A0 from the digest:
ubscribe@httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd=
..apache.org
>> For additional commands, e-mail:
d.apache.org" target=3D"_blank">users-help@httpd.apache.org
>>
>
>
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g" target=3D"_blank">users-unsubscribe@httpd.apache.org
=A0 " =A0 from the digest:
@httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.=
org
For additional commands, e-mail:
org" target=3D"_blank">users-help@httpd.apache.org
--000e0cd695269e9b140475b2e5f1--